package common;

import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;

public class LoginDetails {

	private static String path = "C:\\sql.txt";
	
	public static String[] getLoginDetails()
	{
		String[] details = new String[3];
		try {
			BufferedReader br = new BufferedReader(new FileReader(path));
			
			
			for (int i = 0 ; i < 3 ; i++)
				details[i] = br.readLine();
			
			
			br.close();
			
		} catch (FileNotFoundException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		return details;
	}
	public static void main(String[] args) {
		String[] details = getLoginDetails();
	}

}
